#include "time.hpp"

using namespace std;

string Time::GetDateAndTime()
{
	GetLocalTime(&curTime);
	ostringstream stream;
	stream << curTime.wDay <<"-"<<curTime.wMonth<<"-"<<curTime.wYear;
	stream << " at " <<curTime.wHour<<"-"<<curTime.wMinute<<"-"<<curTime.wSecond;
	
	return stream.str();
}
